package service

// 判断用户是否存在
func (cs Consumer) IsExist(username string) bool {
	Consumer := cs.ReadData(username)
	if Consumer.Name == username {
		return true
	} else {
		return false
	}
}
